package com.zp.decorator;/**
 * @description
 * @author zp
 * @created 2021/9/3 21:15
 */

import com.zp.entity.Color;

import java.awt.*;

/**
 * @author zp
 * @description
 * @created 2021/9/3 21:15
 */
public class RedColorDecorator extends ColorDecorator {
    public RedColorDecorator(Color color) {
        super(color);
    }

    public void fill(){
        System.out.println("这里是红色装饰模式");
        super.fill();
        System.out.println("这里是红色装饰模式");
    }
}
